<?php

require_once("lib/exception/duplicate_instance_exception.php");
require_once("lib/exception/internal_error_exception.php");
require_once("lib/exception/instance_not_found_exception.php");

abstract class Autor_message_dao {

	public function create($autor_message_to) {
		throw Duplicate_instance_exception;
		throw Internal_error_Exception;
	}
		
	public function exist($number) {
		throw Internal_error_Exception;
	}
	
	public function find_by_number($number) {
		throw Internal_error_Exception;
		throw Instance_not_found_exception;
	}
	
	public function count_inbox_messages_by_login($login) {
		throw Internal_error_Exception;
		throw Instance_not_found_exception;
	}
	
	public function count_new_messages_by_login($login) {
		throw Internal_error_Exception;
		throw Instance_not_found_exception;
	}
	
	public function count_send_messages_by_login($login) {
		throw Internal_error_Exception;
		throw Instance_not_found_exception;
	}
	
	public function find_inbox_by_login($login, $start_index, $count) {
		throw Internal_error_Exception;
		throw Instance_not_found_exception;
	}
	
	public function find_send_by_login($login, $start_index, $count) {
		throw Internal_error_Exception;
		throw Instance_not_found_exception;
	}
		    
	public function update($autor_message_to) {
		throw Internal_error_Exception;
		throw Instance_not_found_exception;
	}
    
	public function remove($number) {
		throw Internal_error_Exception;
		throw Instance_not_found_exception;
	}
}
?>